#pragma once

void fname_atow(const char* src, char* dst, int size);
void fname_wtoa(unsigned char* ptr);
int w32fopendel(char* name, char* mode, int delflag);
void gettimeofday(timeval* tv, void* blah);

int chmod(const TCHAR* name, int mode);
int stat(const TCHAR* name, struct _stat64* statbuf);
int utime(const TCHAR* name, struct __utimbuf64* ttime);